/*
 * Copyright 2010 bedatadriven
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

/**
 * JacobGen generated file --- do not edit
 *
 * (http://www.bigatti.it/projects/jacobgen)
 */
package com.bedatadriven.mso.core;

public class MsoControlType {
	private final int value;

	/** msoControlCustom **/
	public static final MsoControlType Custom = new MsoControlType(0);
	/** msoControlButton **/
	public static final MsoControlType Button = new MsoControlType(1);
	/** msoControlEdit **/
	public static final MsoControlType Edit = new MsoControlType(2);
	/** msoControlDropdown **/
	public static final MsoControlType Dropdown = new MsoControlType(3);
	/** msoControlComboBox **/
	public static final MsoControlType ComboBox = new MsoControlType(4);
	/** msoControlButtonDropdown **/
	public static final MsoControlType ButtonDropdown = new MsoControlType(5);
	/** msoControlSplitDropdown **/
	public static final MsoControlType SplitDropdown = new MsoControlType(6);
	/** msoControlOCXDropdown **/
	public static final MsoControlType OCXDropdown = new MsoControlType(7);
	/** msoControlGenericDropdown **/
	public static final MsoControlType GenericDropdown = new MsoControlType(8);
	/** msoControlGraphicDropdown **/
	public static final MsoControlType GraphicDropdown = new MsoControlType(9);
	/** msoControlPopup **/
	public static final MsoControlType Popup = new MsoControlType(10);
	/** msoControlGraphicPopup **/
	public static final MsoControlType GraphicPopup = new MsoControlType(11);
	/** msoControlButtonPopup **/
	public static final MsoControlType ButtonPopup = new MsoControlType(12);
	/** msoControlSplitButtonPopup **/
	public static final MsoControlType SplitButtonPopup = new MsoControlType(13);
	/** msoControlSplitButtonMRUPopup **/
	public static final MsoControlType SplitButtonMRUPopup = new MsoControlType(14);
	/** msoControlLabel **/
	public static final MsoControlType Label = new MsoControlType(15);
	/** msoControlExpandingGrid **/
	public static final MsoControlType ExpandingGrid = new MsoControlType(16);
	/** msoControlSplitExpandingGrid **/
	public static final MsoControlType SplitExpandingGrid = new MsoControlType(17);
	/** msoControlGrid **/
	public static final MsoControlType Grid = new MsoControlType(18);
	/** msoControlGauge **/
	public static final MsoControlType Gauge = new MsoControlType(19);
	/** msoControlGraphicCombo **/
	public static final MsoControlType GraphicCombo = new MsoControlType(20);
	/** msoControlPane **/
	public static final MsoControlType Pane = new MsoControlType(21);
	/** msoControlActiveX **/
	public static final MsoControlType ActiveX = new MsoControlType(22);
	/** msoControlSpinner **/
	public static final MsoControlType Spinner = new MsoControlType(23);
	/** msoControlLabelEx **/
	public static final MsoControlType LabelEx = new MsoControlType(24);
	/** msoControlWorkPane **/
	public static final MsoControlType WorkPane = new MsoControlType(25);
	/** msoControlAutoCompleteCombo **/
	public static final MsoControlType AutoCompleteCombo = new MsoControlType(26);


	private MsoControlType(int value) { this.value = value; }
	public int getValue() { return this.value; }
	public static MsoControlType valueOf(int value) { return new MsoControlType(value); }
	public boolean equals(Object o) {
		if(o == null || o.getClass() != MsoControlType.class) return false;
		return ((MsoControlType)o).value == value;
	}
	public int hashCode() { return value; }
}
